package ca.etsmtl.log730.projet2.connectors.msg;

import java.io.Serializable;

public class Confirmation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3812938161783021457L;
	private final Request request;
	protected Confirmation(Request r) {
		request = r;
	}
	public Request getRequest() {
		return request;
	}
	
	public static class Apply extends Confirmation {

		/**
		 * 
		 */
		private static final long serialVersionUID = -466625846633032642L;

		public Apply(Request r) {
			super(r);
		}
		
	}
	
	public static class Cancelled extends Confirmation {

		/**
		 * 
		 */
		private static final long serialVersionUID = 7969551462799833375L;

		/**
		 * 
		 */

		public Cancelled(Request r) {
			super(r);
		}
		
	}
}
